package com.ruoyi.biz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 接触网开关数据管理对象 biz_catenary_switch
 * 
 * @author cc
 * @date 2025-11-11
 */
public class BizCatenarySwitch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 图纸ID */
    @Excel(name = "图纸ID")
    private Long drawingId;

    /** 开关名称 */
    @Excel(name = "开关名称")
    private String switchName;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String description;

    /** 标准参数 */
    @Excel(name = "标准参数")
    private String standardParams;

    /** 自定义参数 */
    @Excel(name = "自定义参数")
    private String customParams;

    /** 打开时颜色 */
    @Excel(name = "打开时颜色")
    private String openColor;

    /** 打开时扩展样式 */
    @Excel(name = "打开时扩展样式")
    private String openStyleExt;

    /** 关闭时颜色 */
    @Excel(name = "关闭时颜色")
    private String closeColor;

    /** 关闭时扩展样式 */
    @Excel(name = "关闭时扩展样式")
    private String closeStyleExt;

    /** 状态 */
    @Excel(name = "状态")
    private String status;


    /** 开关操作时间 **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operatorTime;
    /** 该开关对应线路通用样式 */
    @Excel(name = "该开关对应线路通用样式")
    private String lineCommonStyle;

    /** 基础信息 */
    @Excel(name = "基础信息")
    private String basicInfo;

    /** 扩展信息 */
    @Excel(name = "扩展信息")
    private String ext;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setDrawingId(Long drawingId) 
    {
        this.drawingId = drawingId;
    }

    public Long getDrawingId() 
    {
        return drawingId;
    }

    public void setSwitchName(String switchName) 
    {
        this.switchName = switchName;
    }

    public String getSwitchName() 
    {
        return switchName;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStandardParams(String standardParams) 
    {
        this.standardParams = standardParams;
    }

    public String getStandardParams() 
    {
        return standardParams;
    }

    public void setCustomParams(String customParams) 
    {
        this.customParams = customParams;
    }

    public String getCustomParams() 
    {
        return customParams;
    }

    public void setOpenColor(String openColor) 
    {
        this.openColor = openColor;
    }

    public String getOpenColor() 
    {
        return openColor;
    }

    public void setOpenStyleExt(String openStyleExt) 
    {
        this.openStyleExt = openStyleExt;
    }

    public String getOpenStyleExt() 
    {
        return openStyleExt;
    }

    public void setCloseColor(String closeColor) 
    {
        this.closeColor = closeColor;
    }

    public String getCloseColor() 
    {
        return closeColor;
    }

    public void setCloseStyleExt(String closeStyleExt) 
    {
        this.closeStyleExt = closeStyleExt;
    }

    public String getCloseStyleExt() 
    {
        return closeStyleExt;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setLineCommonStyle(String lineCommonStyle) 
    {
        this.lineCommonStyle = lineCommonStyle;
    }

    public String getLineCommonStyle() 
    {
        return lineCommonStyle;
    }

    public void setBasicInfo(String basicInfo) 
    {
        this.basicInfo = basicInfo;
    }

    public String getBasicInfo() 
    {
        return basicInfo;
    }

    public void setExt(String ext) 
    {
        this.ext = ext;
    }

    public String getExt() 
    {
        return ext;
    }

    public Date getOperatorTime() {
        return operatorTime;
    }

    public void setOperatorTime(Date operatorTime) {
        this.operatorTime = operatorTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .append("drawingId", getDrawingId())
            .append("switchName", getSwitchName())
            .append("description", getDescription())
            .append("standardParams", getStandardParams())
            .append("customParams", getCustomParams())
            .append("openColor", getOpenColor())
            .append("openStyleExt", getOpenStyleExt())
            .append("closeColor", getCloseColor())
            .append("closeStyleExt", getCloseStyleExt())
            .append("status", getStatus())
            .append("operatorTime",getStatus())
            .append("lineCommonStyle", getLineCommonStyle())
            .append("basicInfo", getBasicInfo())
            .append("ext", getExt())
            .toString();
    }
}
